<template>
  <div>
    <p>父组件</p>
    <input
      type="text"
      :value="text"
      @input="(event) => (text = event.target.value)"
    />
    <input type="text" v-model="text" />
    <ThreeWorkChild v-model="text"></ThreeWorkChild>
  </div>
</template>
<script setup>
import ThreeWorkChild from "./ThreeWorkChild.vue";
import { ref, provide } from "vue";
// const obj = ref({
//   name: "zs",
//   age: 20,
// });
const text = ref("aaaaaaaa");
</script>
<style scoped lang="scss"></style>